package com.bjpowernode.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
//@Controller+@ResponseBody
@RestController
public class JsonController {
    @RequestMapping("/xxx1.json")
    public String fun1(){
        return "aaa";
    }
    @RequestMapping("/xxx2.json")
    public String fun2(){
        return "bbb";
    }
}
